---
description: "Reference for Nitric's Dart library - Submit a batch job request with the Nitric Dart SDK"
---

# Dart - job.submit()

<Note>
  This is reference documentation for the Nitric Dart SDK. To learn about Batch
  Services in Nitric start with the [Batch docs](/batch).
</Note>

Jobs may be submitted from Nitric `services` or other `batches` using the `submit` method on the job reference. When submitting a job you can provide a payload that will be passed to the job handler function.

```dart
import 'package:nitric_sdk/nitric.dart';

final analyze = Nitric.job("analyze").allow([JobPermission.submit]);

await analyze.submit({ message: "message contents" });
```

## Parameters

<Properties>
  <Property name="message" required type="Map<String, dynamic>">
    The data that will be sent to the submit
  </Property>
</Properties>

## Examples

### Submit a job request

```dart
import 'package:nitric_sdk/nitric.dart';

final analyze = Nitric.job("analyze").allow([JobPermission.submit]);

await analyze.submit({ message: "data contents" });
```
